package day7;

public abstract class Cal {
	protected int num1;
	protected int num2;
	
	public Cal() {
	}
	
	public  Cal(int num1,int num2) {
		super();
		this.num1 = num1;
		this.num2 = num2;
	}
	//抽象方法
	public abstract int getResult();
	
	//如果一个类是抽象类，这个类就不能被实例化
	//	Cal cal = new Cal();
		
}
